# Check Auto Backup Vault Repos Status
(16 actions, 21 KB)
0 DataJar > GetValueIntent »
1
2
8
9
keyPath
:
Auto Backup Vault Repos
1 Repeat with Each in
[0 Value
as Dictionary’s Keys
]
2 Get Dictionary Value for
[Repeat Item]
.backupInterval
in
[0 Value]
➔ backupInterval
»
3
4
3 If
[2 backupInterval]
has any value
4 Adjust
Subtract
Date
[CurrentDate]
»
Duration
:
[2 backupInterval]
days
5 Dictionary »
{ "pathParams": { "owner": "huaminghuangtw", "repo": "
[Repeat Item]
" }, "queryParams": { "since": "
[4 Adjusted Date
{\"WFISO8601IncludeTime\":true,\"Date Style\":\"ISO 8601\"}
]
", "per_page": "1" } }
6 Run Shortcut
GitHub - List commits
»
Input
:
[5 Dictionary]
Workflow
:
{ "workflowIdentifier": "1AF3586C-FBC1-4FA3-9F07-48CDC8FF3C00", "workflowName": "GitHub - List commits", "isSelf": false }
7 If
[6 Shortcut Result]
does not have any value
8 Get Dictionary Value for
[Repeat Item]
.absolutePath_macOS
in
[0 Value]
➔ absolutePath_macOS
»
11
9 Get Dictionary Value for
[Repeat Item]
.repoURL
in
[0 Value]
➔ repoURL
»
11
10 DataJar > GetValueIntent »
keyPath
:
My Focus Mode.#MonkMode.startTime
11 Add New Reminder
cd "
[8 absolutePath_macOS]
" && git auto-push && git open
to
🗓️ Scheduled
with
Alert
CalendarDescriptor
:
{ "Identifier": "<x-apple-reminderkit://REMCDList/3F687661-DE57-448A-86E0-82C95D7915CF>", "Title": "🗓️ Scheduled", "IsAllCalendar": false }
AlertCustomTime
:
[10 Value]
URL
:
[9 repoURL]
Priority
:
High
12 End If
13 End If ▵
3
14 End Repeat with Each ▵
1
15 Stop This Shortcut